import { MetaMap, RouteObjMap } from "@/model/routesMap";
import {
  DesktopOutlined,
  FileOutlined,
  PieChartOutlined,
  TeamOutlined,
  UserOutlined,
} from "@ant-design/icons";

export default {
  "menus.dashboard": { name: "首页", icon: <PieChartOutlined /> },
  "menus.data": { name: "数据管理", icon: <DesktopOutlined /> },
  "menus.user": {
    name: "管理",
    icon: <FileOutlined />,
    hidden: true,
  },
  "menus.user.user1": {
    name: "用户管理",
    icon: <TeamOutlined />,
    role: ["user"],
  },
  "menus.user.user2": { name: "角色管理", icon: <UserOutlined /> },
  "menus.us": { name: "角色管理", icon: <UserOutlined /> },
  "menus.us.user2": { name: "角色管理", icon: <UserOutlined /> },
} as RouteObjMap<MetaMap>;
